package com.hakim.wfb.customer.params;

import com.hkfs.fundamental.api.params.BaseParameter;
import com.hkfs.fundamental.validate.annotaion.validation.Mobile;
import org.hibernate.validator.constraints.NotBlank;

//import com.dyc.business.sms.enums.VerifyCodeType;
import com.hkfs.fundamental.api.params.BaseParameter;
import com.hkfs.fundamental.validate.annotaion.validation.Mobile;
import org.hibernate.validator.constraints.NotBlank;

/**
 * <p>注册或找回密码获取验证码参数</p>
 *
 * @author panjingang
 */
public class GetVerifyCodeParameter extends BaseParameter {

    private static final long serialVersionUID = 1L;

    /**
     * 验证码类型
     */
    @NotBlank(message = "请输入验证码类型")
    private String verifyCodeType;
    /**
     * 手机号码
     */
    @Mobile(message = "手机号码格式不正确")
    @NotBlank(message = "请输入手机号码")
    private String mobilePhone;

    private String vcode;

    public void setVerifyCodeType(String verifyCodeType) {
        this.verifyCodeType = verifyCodeType;
    }

    public String getVerifyCodeType() {
        return verifyCodeType;
    }

//    public void putVerifyCodeType(VerifyCodeType _verifyCodeType) {
//        if( _verifyCodeType == null ) {
//            return;
//        }
//        this.verifyCodeType= _verifyCodeType.getCode();
//    }
//
//    public VerifyCodeType findVerifyCodeType(String verifyCodeType) {
//        return VerifyCodeType.getByCode(verifyCodeType);
//    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public String getVcode() {
        return vcode;
    }

    public void setVcode(String vcode) {
        this.vcode = vcode;
    }
}